<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        $this->display();
    }
     public function login(){
        $this->display();
    }
     public function code(){
         $config= array(
             'fontSize'  =>  18,// 验证码字体
              'imageW'  =>  130,// 验证码宽120
              'imageH'  => 35,// 验证码高35
              'length' => 4, // 验证码位数
              'useNoise' => false,// 关闭验证码杂点
         );
        $Verify = new \Think\Verify($config);
        $Verify->entry();
    }
}